<div class="sidebar_detail" >
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>新建酒店策略
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default" ng-click="addSupport.save()" ng-disabled="addHotelPolicyForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<ul class="nav nav-tabs" role="tablist" style="clear:both">
		<li class="active"><a data-target="#addHotelPolicyBaseInfo" role="tab" data-toggle="tab">基本信息</a></li>
	</ul>
	<div class="tab-content">
		<div class="tab-pane active" id="addHotelPolicyBaseInfo">
			<form id="addHotelPolicyForm" name="addHotelPolicyForm" novalidate>
				<!--与上传图片在同一行的内容 开始 -->
				<div class="row">
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>酒店名称:</label>
							<div class="col-md-8 col-sm-10">
								<input id="addHotelName" name="addHotelName" type="text" class="form-control">
								<input name="uuid" type="hidden" class="form-control" ng-model="addSupport.entity.uuid" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addHotelPolicyForm.uuid.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">策略代码:</label>
							<div class="col-md-8 col-sm-10">
								<input id="code" name="code" type="text" class="form-control" ng-model="addSupport.entity.code" disabled>
							</div>
						</div>
					</div>
				</div>
	
				<div class="row">
					<div class="col-md-6 form-horizontal" >
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>入住时间:</label>
							<div class="col-md-8 col-sm-10">
								<input id="startTime" name="startTime" type="text" class="form-control" ng-model="addSupport.entity.startTime" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addHotelPolicyForm.startTime.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>离店时间:</label>
							<div class="col-md-8 col-sm-10">
								<input id="endTime" name="endTime" type="text" class="form-control" ng-model="addSupport.entity.endTime" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addHotelPolicyForm.endTime.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="notNull" >*</span>儿童政策 :</label>
							<div class="col-sm-10">
								<textarea id="childPolicy" name="childPolicy" class="form-control" rows="4" ng-model="addSupport.entity.childPolicy" ng-maxlength="300" required></textarea>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addHotelPolicyForm.childPolicy.$dirty && addHotelPolicyForm.childPolicy.$valid"></span>
								<span class="error_tips" ng-show="addHotelPolicyForm.childPolicy.$error.maxlength">最多不能超过300个字符！</span>
							</div>

						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="notNull" >*</span>膳食 :</label>
							<div class="col-sm-10">
								<textarea id="diet" name="diet" class="form-control" rows="4" ng-model="addSupport.entity.diet" ng-maxlength="300" required></textarea>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addHotelPolicyForm.diet.$dirty && addHotelPolicyForm.diet.$valid"></span>
								<span class="error_tips" ng-show="addHotelPolicyForm.diet.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="notNull" >*</span>宠物 :</label>
							<div class="col-sm-10">
								<textarea id="pet" name="pet" class="form-control" rows="4" ng-model="addSupport.entity.pet" ng-maxlength="300" required></textarea>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addHotelPolicyForm.pet.$dirty && addHotelPolicyForm.pet.$valid"></span>
								<span class="error_tips" ng-show="addHotelPolicyForm.pet.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label">描述 :</label>
							<div class="col-sm-10">
								<textarea id="description" name="description" class="form-control" rows="4" ng-model="addSupport.entity.description" ng-maxlength="300"></textarea>
								<span class="error_tips" ng-show="addHotelPolicyForm.description.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>